<div class="col-md-12">
    <div class="panel panel-default">
        <div class="panel-heading">
            <form class="form-inline" id="select-form" role="form" method="GET">
                <div class="form-group">
                    <label>时间</label>
                    <input class="form-control filter-option" type="text" id="from-date" placeholder="选择日期" data-filter="fromdate">
                </div>
                <div class="form-group">
                    <label>至</label>
                    <input class="form-control filter-option" type="text" id="to-date" placeholder="选择日期" data-filter="todate">
                </div>
                <div class="form-group">
                    <label for="filter-line">线路</label>
                    <select class="form-control filter-option" id="filter-line" name="filter-line" data-filter="line">
                        <option value=""></option>
                    	<?php
                            if (isset($line)) {
                                foreach ($line as $value) {
                                    echo "<option value='$value'>$value</option>";
                                }
                            }
                    	?>
                    </select>
                </div>
                <div class="form-group">
                    <label for="filter-range">范围</label>
                    <select class="form-control filter-option" id="filter-range" name="filter-range" data-filter="range">
                        <option value=""></option>
                        <?php
                            if (isset($range)) {
                                foreach ($range as $value) {
                                    echo "<option value='$value'>$value</option>";
                                }
                            }
                        ?>
                    </select>
                </div>
                <div class="form-group">
                    <label for="filter-center">所属中心</label>
                    <select class="form-control filter-option" id="filter-center" name="filter-center" data-filter="center">
                        <option value=""></option>
                        <?php
                            if (isset($center)) {
                                foreach ($center as $value) {
                                    echo "<option value='$value'>$value</option>";
                                }
                            }
                        ?>
                    </select>
                </div>
                <div class="form-group">
                    <label for="filter-device">设备</label>
                    <select class="form-control filter-option" id="filter-device" name="filter-device" data-filter="device">
                        <option value=""></option>
                        <?php
                            if (isset($device)) {
                                foreach ($device as $value) {
                                    echo "<option value='$value'>$value</option>";
                                }
                            }
                        ?>
                    </select>
                </div>
                <div class="form-group">
                    <label for="filter-type">软件类型</label>
                    <select class="form-control filter-option" id="filter-type" name="filter-type" data-filter="type">
                        <option value=""></option>
                        <?php
                            if (isset($type)) {
                                foreach ($type as $value) {
                                    echo "<option value='$value'>$value</option>";
                                }
                            }
                        ?>
                    </select>
                </div>
                <a type="submit" class="btn btn-primary" id="filter-submit">确定</a>
                <a class="btn btn-default" id="add-item">新增</a>
            </form>
        </div>
        <div class="panel-body">
            <div class="table-box">
    			<table class="table table-bordered table-striped tablesorter" id="download-list">
    			    <thead>
    			    	<th data-attr="id" class="hide"></th>
                        <th width="10%" data-attr="station">通告时间</th>
                        <th width="10%" data-attr="line">线路</th>
                        <th width="10%" data-attr="range">范围</th>
    			    	<th width="10%" data-attr="supplier">供应商</th>
    			    	<th width="10%" data-attr="device">设备类型</th>
    			    	<th width="10%" data-attr="area">软件线路分类</th>
                        <th width="10%" data-attr="type">软件类型</th>
                        <th width="10%" data-attr="aftervision">版本号</th>
                        <th width="10%" data-attr="back">回退</th>
                        <th width="10%"></th>
    			    </thead>
    			    <tbody></tbody>
    			</table>
            </div>
        </div>
    </div>
</div>

<div class="modal fade" id="dialog-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-dialog modal-lg">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h3 class="modal-title" id="dialog-modal-title"></h3>
      </div>
      <div class="modal-body" id="dialog-modal-body">
      </div>
      <div class="clearfix"></div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
        <button type="button" class="btn btn-primary" data-dismiss="modal" id="dialog-submit">确定</button>
      </div>
    </div>
  </div>
</div>